package com.d2.modules.generator.service.impl;
import com.d2.modules.generator.mapper.ITableMapper;
import com.d2.modules.generator.service.ITableService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class TableServiceImpl implements ITableService {

    @Autowired
    private ITableMapper tableMapper;

    @Override
    public List<Map> listTables() {
        return tableMapper.selectTables();
    }
}
